package com.xy.modular.sys.entity;

import java.util.Date;
import com.xy.framework.base.entity.Entity;

/**
 * <p>
 * 租户表
 * </p>
 *
 * @author BCK
 * @since 2019-12-15
 */
public class Tenant extends Entity {

    private static final long serialVersionUID = 1L;

    /**
     * 租户名称
     */
    private String tenantName;
    /**
     * 联系人
     */
    private String linkman;
    /**
     * 联系电话
     */
    private String contactNumber;
    /**
     * 联系地址
     */
    private String address;
    /**
     * 创建人
     */
    private Integer createUser;
    /**
     * 修改人
     */
    private Integer updateUser;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 是否已删除
     */
    private Integer isDeleted;
    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }
    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }
    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }
    public Integer getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public static final String TENANT_NAME = "sys_tenant.tenant_name";
    public static final String LINKMAN = "sys_tenant.linkman";
    public static final String CONTACT_NUMBER = "sys_tenant.contact_number";
    public static final String ADDRESS = "sys_tenant.address";
    public static final String CREATE_USER = "sys_tenant.create_user";
    public static final String UPDATE_USER = "sys_tenant.update_user";
    public static final String UPDATE_TIME = "sys_tenant.update_time";
    public static final String STATUS = "sys_tenant.status";
    public static final String IS_DELETED = "sys_tenant.is_deleted";

    @Override
    public String toString() {
        return "Tenant{" +
            "tenantName=" + tenantName +
            ", linkman=" + linkman +
            ", contactNumber=" + contactNumber +
            ", address=" + address +
            ", createUser=" + createUser +
            ", updateUser=" + updateUser +
            ", updateTime=" + updateTime +
            ", status=" + status +
            ", isDeleted=" + isDeleted +
        "}";
    }
}
